<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>test</title>
<link rel="stylesheet" href="d3.parsets.css"/>
<script src="d3.v3.js"></script>
<script src="d3.parsets.js"></script>
</head>

<body>
<div id="vis">
</div>
<script>
var chart = d3.parsets()
      .dimensions(["Survived", "Sex", "Age", "Class"]);

var vis = d3.select("#vis").append("svg")
    .attr("width", chart.width())
    .attr("height", chart.height());

d3.csv("Titanic.csv", function(error, csv) {
	console.log(csv);
    vis.datum(csv).call(chart);
});
  var t = vis.transition().duration(500);
    t.delay(1000);
  t.call(chart.tension(this.checked ? .5 : 1));	
</script>
	
</body>
</html>
